package com.qdxwx.data.mapper.user;

import com.qdxwx.models.user.UserCount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface UserCountMapper {

	UserCount get(long userId);

	int insert(UserCount userCount);

	int append(UserCount userCount);

	int update(UserCount userCount);

    int deleteById(Long userId);

    int updateCombine(@Param("userId") long userId, @Param("e") UserCount userCount);
}